package com.baizhi.dao;

import com.baizhi.entity.Article;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by 野马 on 2019/6/21.
 */
public interface ArticleDao {

    public void insertArticle(Article article);

    public List<Article> selectArticle(@Param("articleName")String articleName,@Param("start")int start,@Param("pageSize")int pageSize);
    //假删除
    public void deleteArticle(int articleId);

    public int selectCountArticle(String articleName);

    public List<Article> selectArticleAll(@Param("articleType")String articleType);




}
